package bocchi.card;

import bocchi.action.FinaleAction;
import bocchi.base.BaseCustomCard;
import bocchi.general.Util;
import bocchi.power.ResolvePower;
import com.megacrit.cardcrawl.actions.common.ApplyPowerAction;
import com.megacrit.cardcrawl.characters.AbstractPlayer;
import com.megacrit.cardcrawl.monsters.AbstractMonster;

public class SlideGuitar extends BaseCustomCard {
    private static final String RAW_ID = SlideGuitar.class.getSimpleName();
    public static final String GAME_ID = RAW_ID;

    public SlideGuitar() {
        super(RAW_ID);
    }

    @Override
    public void use(AbstractPlayer player, AbstractMonster monster) {
        Util.damage(player, monster, damage);
        addToBot(new FinaleAction(new ApplyPowerAction(player, player, new ResolvePower(player, magicNumber))));
    }
}
